import { DESIGN_WINDOW_WIDTH } from "@/data/constants";

export const rpxToPx = (rpx: number, windowWidth: number) =>
  Math.floor((rpx / (DESIGN_WINDOW_WIDTH * 2)) * windowWidth * 2);
